Fix bug with end of line comments which prevent detection of new fold level