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