The sendmail.cf should never be modified directly. It should be generated from a .mc file that lists the features and configuration options you want set or included from m4 files. You then run m4 against the settings from the .mc file and generate a sendmail.cf.
So, you're probably looking for an mc grammar file.
I fear anyone who can reliably edit a sendmail.cf directly other than very cursory settings. I used to spend hours at a time with the O'Reily "bat book" for sendmail just to write the simplest of rules. That was in about 1994. I learned my lesson and ALWAYS use .mc files and m4 to generate now.