How to print "node title" in comment.html.twig template?
Because the comment reply page/route does not belong to a Node entity
$node = \Drupal::request()-&gt;attributes-&gt;get('node'); 

returns null.
Instead, access the node object with
$node = $variables['commented_entity'];