public void parseUptoKey(String line) {
			key = null;
			value = null;
			comment = null;
			status = 0;
			sz = line.length();
			pos = 0;
			commentedkey = false;
			pos = skipWhiteSpace(line, pos);
			if (pos >= sz) {
				return;
			}
			if (line.charAt(pos) == '#') {
				pos += 1;
				commentedkey = true;
				pos = skipWhiteSpace(line, pos);
				if (pos >= sz) {
					return;
				}
			}
			int tokend = scanToken(line, pos);
			if (tokend == pos) {
				return;		// No characters in token
			}
			key = line.substring(pos, tokend);
			pos = tokend;

		}
Class that holds a single configuration option from the PostgreSQL configuration file
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/ServerConfig.java