perf(linter/plugins): reduce allocations for tokens and comments with accessed loc
#20480
+31
−7
loc
#20480