QDomElement rootEle = doc.createElement("root") //xml中某个节点
QDomComment comment = doc.createComment(QString::fromLocal8Bit("说明”)); //注释说明
rootEle.appendChild(comment); //在rootEle节点后添加注释说明
QDomElement rootEle = doc.createElement("root") //xml中某个节点
QDomComment comment = doc.createComment(QString::fromLocal8Bit("说明”)); //注释说明
rootEle.appendChild(comment); //在rootEle节点后添加注释说明