public void clearComments(Address start, Address end) {
		AddressRange.checkValidRange(start, end);
		lock.acquire();
		try {
			try {
				addCommentHistoryRecords(start, end);
			}
			catch (IOException e) {
				program.dbError(e);
			}

			cache.invalidate();
			try {
				boolean commentRemoved = commentAdapter.deleteRecords(start, end);
				if (commentRemoved) {
					// fire event
					program.setChanged(ProgramEvent.CODE_REMOVED, start, end, null, null);
				}
			}
			catch (IOException e) {
				program.dbError(e);
			}
		}
		finally {
			lock.release();
		}
	}
Clears all comments in the given range (inclusive).
The specified start and end addresses must form a valid range within
a single {@link AddressSpace}.

@param start the start address of the range to clear
@param end the end address of the range to clear
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java