340 crank with 318 harmonic balancer?

Neutral balance is neutral balance. So yes, the same harmonic balancer will work on a 318 or 340.
Okay, second question.
If the harmonic balancer spun on the rubber, is it junk?