Bugfix: skip collapsing lines if they contain comments