fix comment parsing when whitespace