Problem with IF command in comment.html.twig
Use the comment entity to get the raw field value instead:

{% if comment.field_points.value == 5 %}
   *****
{% elseif comment.field_points.value == 4 %}
   ****

...

{% endif %}


This doesn't work with {{ content }}, because it contains a build array to render the fields.