private int getRefRepeatRow(int row) {
		int currentRow = 0;
		for (RefRepeatComment comment : refRepeatables) {
			int numRows = comment.getCommentLineCount();
			if (row < (currentRow + numRows)) {
				return row - currentRow;
			}
			currentRow += numRows;
		}
		return -1;
	}
Gets the automatic comments
@return the comments
Ghidra/Features/Base/src/main/java/ghidra/app/util/EolComments.java