The answer depends on where the rules say
vertical markings go: on the side faces of guardrails on tight curves, steep downhills and other dangerous sections. They don't warn about something ahead; they mark the very section you're driving on and help you see from far away where the guardrail runs and where the road goes. So on such a section, slow down and stay in your lane