if ( post_password_required() ) { return;
}$twenty_twenty_one_comment_count =
get_comments_number();
?>
<div id="comments" class="comments-area default-max-width <?php
echo get_option( 'show_avatars'
) ? 'show-avatars' : ''; ?>">
<?php
if ( have_comments() ) :
?>
<h2 class="comments-title">
<?php
if ( '1' ===
$twenty_twenty_one_comment_count ) : ?>
<?php
esc_html_e( '1 comment', 'twentytwentyone'
); ?>
<?php
else : ?>
<?php
printf( /* translators: %s: Comment count number. */
esc_html( _nx( '%s comment', '%s comments',
$twenty_twenty_one_comment_count, 'Comments title', 'twentytwentyone'
) ),
esc_html( number_format_i18n( $twenty_twenty_one_comment_count ) ) );