Disable Comments in Custom Post Type

function modify_post_type_supports() {
    remove_post_type_support( 'pages', 'comments' );
}

add_action( 'init', 'modify_post_type_supports', 11 );