judge whether this char is in the quote/comment or not