private static String stripConnectComment(String line) {
		int pos = line.indexOf('#');			// Position of any comment character
		if (pos == -1) {
			pos = line.length();
		}
		for (int i = 0; i < pos; ++i) {
			char c = line.charAt(i);
			if (c != ' ' && c != '\t') {		// Is there meaning characters before the comment '#' character
				return line.substring(i, pos);	// Strip off comment
			}
		}
		return null;		// Indicate this line only contains spaces and/or comment
	}
Read a set of key/value pairs and connection entries to use for patching, from an XML file
@param parser the XML parser
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/ServerConfig.java