Hi @Nils
As the safe samples are sent automatically requested by the Defender for Endpoint antivirus cloud protection the most matching format is .html . Only when it fails we might Manual File Sample Collection by Security Admin from Defender for Endpoint Management Portal and you would use a script to do it so .reg might also be a safe sample format.
Hope this Answers all your queries , if not please do repost back .
If an Answer is helpful, please click "Accept Answer" and upvote it : )