Do you have a plugin to do it? If so what you need to do is just add corn in cpanel? If no, you should write a plugin to read content from text file first, right?
Last time I have this problem too, I just remove something in .htaccess and disable wordpress mu in wp-config.php and then I can login, then I can do something and recover it and so on.
Hi, in general, I use zend(what is your IDE?) search something like “Comments Closed” in all of files, you will find the function and then you can search the do_action in this function and remove it. It will works,