Deregister/Remove comment-reply.min.js from WordPress

Comment threading in WordPress allows you to make use of nested comments or replies .When a user leaves a response to article,his/her replies will be given a nested layout.

You can disable the WordPress comment system in the dashboard and navigate to Settings -> Discussion and change settings depending on nested comments requirement

To disable comment-reply.min.js copy and paste the following code snippet into functions.php of the theme

function my_deregister_scripts(){
    if (!is_admin()) {
       wp_deregister_script( 'comment-reply' );
add_action( 'wp_footer', 'my_deregister_scripts' );