private void loadAutos() {
		boolean hasOtherComments =
			!(eols.isEmpty() && repeatables.isEmpty() && refRepeatables.isEmpty());
		if (!extraCommentsOption.isShowingAutoComments(hasOtherComments)) {
			return;
		}

		Collection<String> comments = getReferencePreviews();
		addStrings(comments, autos);
	}
Returns the number of comments that can be added before reaching the maximum number of
comments
@return the number of comments
Ghidra/Features/Base/src/main/java/ghidra/app/util/EolComments.java