public static String[] arrayFromComment(String comment) {
		return comment == null || comment.length() == 0 ? EMPTY_STRING_ARRAY : comment.split("\n");
	}
Split a comment into an array of lines

@param comment the comment text or null
@return the array of lines or null
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/DBTraceCommentAdapter.java