private Data getData(Program program, Address toAddr) {
		Data data = program.getListing().getDataAt(toAddr);
		if (data == null) {
			data = program.getListing().getDataContaining(toAddr);
		}
		return data;
	}
Returns the number of comments that can be added before reaching the maximum number of
comments
@return the number of comments
Ghidra/Features/Base/src/main/java/ghidra/app/util/EolComments.java