private void writeComment(XmlWriter writer, Address addr, String typeStr, String comments) {
		XmlAttributes attrs = new XmlAttributes();
		attrs.addAttribute("ADDRESS", XmlProgramUtilities.toString(addr));
		attrs.addAttribute("TYPE", typeStr);

		writer.writeElement("COMMENT", attrs, comments);
	}
Write out the XML for the external entry points.
@param writer writer for XML
@param set address set that is either the entire program or a selection
@param monitor monitor that can be canceled
should be written
@throws CancelledException if task is cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/CommentsXmlMgr.java