Fix panic with comments in file

Fixes #66