Comment and blank lines keep their place and content

All 3 scenarios hold

Comment and blank lines take no part in column alignment: the surrounding rows are formatted as one table and the preserved lines are re-inserted at their original positions, byte for byte.

expected outcome broken scenario
ScenarioTable linesFormatted?
Comment between rows
  • name|age
  • // note
  • Alice|30
  • name | age
  • // note
  • Alice | 30
Blank line between rows
  • name|age
  • Alice|30
  • “”
  • Bob|25
  • name | age
  • Alice | 30
  • “”
  • Bob | 25
Comments and blanks together
  • name|age
  • // First
  • Alice|30
  • “”
  • // Second
  • Bob|25
  • name | age
  • // First
  • Alice | 30
  • “”
  • // Second
  • Bob | 25