Fixed error when a line only contained a single comment character was parsed wrongly