Comments aren't handled correctly

The detection function already captures the closing "tag" so we don't need to write it in tokenToString and the ! in the opening "tag" was missing.