"Pure" XML file can be easily parsed with QDomDocument::setContent, but is there a way to read an XML part from a text file?
For example, a file with a structure like (text/xml order doesn't matter):

ScriptCommandsStart "foo"
ScriptCommandsStop "bar"
<!-- <?xml version="1.0" purposefully omitted -->
<NestedItem element="foo">
<NestedItem element="bar">

Is there a simple way to read that XML part into something like QDomDocument?