Ensuring newlines are always stripped after comments