Changed back to the previous version because line comment symbols in string were also skipped(a bug).