Simplify scanner by removing need for a 'onComment' callback.
Merge pull request #1367 from Microsoft/tokenRanges

Simplify scanner by removing need for a 'onComment' callback.