If a CommentText ends with the GLUE_MARKER(\g), only trim whitespace from the end of the string.