added check for xml comments