don't crash if a file does not contain any comments (#368)