given that keyfiles are typically not meant to be looked at by users
Some keyfiles are intended to be read and modified by users. Including comments from the source makes them translatable through the gettext system. If someone later wastes time wrapping the config with a GUI, the same comments can be repurposed as explanatory tooltips.