public static boolean isCommentAllowed(CodeUnit cu, ProgramLocation loc) {
		if (cu == null) {
			return false;
		}
		// changed ref SCR #8041
//		if (cu instanceof Data) {
//			Data d = (Data) cu;
//			if (d.getNumComponents() > 0) {
//				return false;
//			}
//		}
		return true;
	}
Get the comment type from the current location. If the cursor
is not over a comment, then just return EOL as the default.
@param cu
@param loc
@param defaultCommentType
@return comment type
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/CommentTypeUtils.java