Fixed bug when removing comments.

The end of line was removed together with the first character of the
next line.