Fix leaked comments in built code

Some comments were present in the built code, in case there was no new
line after it.
Merge pull request #575 from devnoname120/stripComments

Fix leaked comments in built code