person suggested it might be asking for my middle initial. As it turns out, the explanation is much simpler—and it comes from traditional wedding etiquette.
The “M” is the beginning of the courtesy title that goes before your name: Mr., Mrs., Ms., or Miss. The guest completes the appropriate title and then writes their name on the remaining line. For example, someone named John Smith could complete it so the line reads “Mr. John Smith.”
The tradition comes from an era when formal titles were routinely used on wedding correspondence.