The whole XML comment has to be parsed as one XML tag to support strange but valid combinations like <!----> <!--invisible-tag></invisible-tag--> Fixes #1424