Fixed the line comment check throwing an error if the line is empty