Fixed infinite looping with double and single line comments