Some .rdf files are XML, but the .rdf extension seems to be used also for other things. So... use the 'header' mechanism.
They are not documentation, they are functional elements of nano.