how to smooth a line in unity

Good morning
I have a doubt relating to how to smooth the edges of a mesh drawn as a line

as you can see the edges of this mesh looks a little jagged

even line renderer edges looks a little jagged as shown below

The solution for this is turn on the AntiAliasing in project Settings/Quality201190-screenshot-2022-10-27-103910.png