Answer
You can’t align the stroke of an open path, but you can align the path itself!
From Preferences → General check “Use Preview Bounds”:
This will use the visual appearance of objects to create their bounding box, rather than the paths themselves; which means we can align to the outside of our stroke:
Attribution
Source : Link , Question Author : Blaine McGaff , Answer Author : Cai