Yeah, I agree it isn't a good solution, though it works for the existing tests.

How about removing this entire token-iteration and trying to fix the comments in the `processComments` function instead? Did you try that before?