diff --git a/wp-includes/comment.php b/wp-includes/comment.php
index a8cc4dda29..21ff8c50a6 100644
--- a/wp-includes/comment.php
+++ b/wp-includes/comment.php
@@ -3823,13 +3823,15 @@ function _wp_batch_update_comment_type() {
 	// Empty comment type found? We'll need to run this script again.
 	wp_schedule_single_event( time() + ( 2 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' );
 
-	// Update the `comment_type` field value to be `comment` for the next 100 rows of comments.
+	$comment_batch_size = intval( apply_filters( 'wp_comment_batch_update_size', 100 ) );
+
+	// Update the `comment_type` field value to be `comment` for the next ($comment_batch_size) rows of comments.
 	$wpdb->query(
 		"UPDATE {$wpdb->comments}
 		SET comment_type = 'comment'
 		WHERE comment_type = ''
 		ORDER BY comment_ID DESC
-		LIMIT 100"
+		LIMIT {$comment_batch_size}"
 	);
 
 	delete_option( $lock_name );
