Avoid hang on incomplete comments. Fixes #32.