When a comment was present directly on the same line after a command, we did not correctly see the command as terminated and would join continue parsing the next line.