Fix the tab and indent calculation when formatting comments in the emitted output

Instead of parenthesizing the whole expression, parenthesize the modulus operation.