Cleaned up lexing of comments/cdata.

Thanks to @whitequark for suggesting the use of the "--" operator.