private String removeComments(String line) {
		// remove any trailing comment on line
		int commentIndex = line.indexOf("//");
		if (commentIndex >= 0) {
			line = line.substring(0, commentIndex);
		}
		line = line.trim();

		// clear line if entire line is comment
		if (line.startsWith("#")) {
			return "";
		}
		return line;
	}
Returns a list of errors found while parsing
@return a list of errors found while parsing
Ghidra/Framework/Gui/src/main/java/generic/theme/AbstractThemeReader.java