fix multiline comment parsing to process some pathological case correctly