private void appendBlockComment(Program program, Address address, String text,
			CommentType commentType) {
		String comment = program.getListing().getComment(commentType, address);
		comment = (comment == null) ? text : comment + "\n" + text;
		SetCommentCmd.createComment(program, address, comment, commentType);
	}
Manages the nesting of scoping blocks for functions and scoped variables.
Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/BlockCommentsManager.java