removing comments should be before trimming