Posting XML in comment section

If you’re wanting your users to be able to add the xml tags into the comment form, without having them removed, it would be best to add a filter to pre_process_comment so as to add <pre> tags around the comment before it’s posted to the DB.