On a client’s site, needed to remove “comments are closed” from post/pages where comments have been manually disallowed (by the client on the bottom of the edit screen).
Most blogs say just to remove the call to <?php comments_template(); ?> from your theme, but this removes comments completely. If you just want to remove/edit the message only where comments have been disabled, just find your comments.php file and scan the code for something that looks similar to this…
<?php if ( comments_open() ) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p>
<?php endif; ?>
*Note: its likely your code won’t be exactly the same, because each theme may have the comments template setup a little different. The basic idea is to find the “message” that you want to get rid of. In this example, the line we’re looking for is “<p>Comments are closed.</p>”.
All we have to do now is just delete the following line..
<p class="nocomments">Comments are closed.</p>
And that’s it!