No production code function is allowed to be longer than 500 lines. The lib/setopt.c:setopt_cptr function is currently exempt, as a single exception until we make it smaller. Closes #21492