Pretty much you can see that this line won't show visual change. When i try to change the stroke it shows only in the navigator bar but o
You are looking at the "View Outline". You must have pressed the shortcut by accident.
To view all artwork as outlines, choose View > Outline or press Ctrl+Y (Windows) or ⌘+Y (macOS). Choose View > Preview to return to previewing artwork in color.