Comments filter by Last in Twig I try to render the last comment  from a list of comments. 

I try {{ comments|last }} ---> no result.

Then {{ comments|reverse }} ---> this render them

Then {{ comments|reverse|first }} ---> no result

The above part is  solved.See anser 1. Pls if annyone have a solution for rendering the last comment in views.

I like to achieve the same in a view. There is a relation filter that output the last comment. But I think I do something wrong.
The last item in comments is the pager, which you have to remove first to get to the last comment. Then you can build a new render array with the single comment and the pre-render callback:

{% set last_comment = comments|without('pager')|last %}
{% set pre_render = comments['#pre_render'] %}
{% set last_comment_build = { '#pre_render': pre_render, '0': last_comment } %}
{{ last_comment_build }}