Filter custom comment type from Manage Comments & Dash Widgets

Doh, looks like the answer was staring me in the face.

add_filter( 'comments_clauses', 'myPlugin_exclude_custom_comments', 10, 1);
function myPlugin_exclude_custom_comments( $clauses ) {

    // Hide all those comments which aren't of type system_message
    $clauses['where'] .= ' AND comment_type != "system_message"';   

    return $clauses;
}

What this does is edit all comment queries to find comments that don’t have a type of system_message

Hope this helps someone 🙂