Handle comments at the end of file

Fix #115