BEGIN/END DNSSEC/MANAGED KEYS in bin/named/config.c are mismatched.
The current code is like this:
# BEGIN DNSSEC KEYS\n"
/* Imported from bind.keys.h: */
TRUST_ANCHORS
"# END MANAGED KEYS\n\
Which results in strange command lines if you want to extract the contents from the binary.
strings /usr/local/sbin/named | sed -n '/^# BEGIN DNSSEC KEYS/,/# END MANAGED KEYS/p'