Settings
>> Discussion
>> uncheck “Allow people to post comments on new articles”
This will affect new posts, but not old.
Access your wordpress database
>> change value of comment_status’s column
of wp_posts’s table to “closed”
If you can access db directly, this can help you