Bar line dotted line

Is there a way to make the highlighted area appear as a dotted line?

If I select “Hide systemic barline,” the entire barline disappears. Is there a way to apply a dashed line to just part of it?

Jesper

Thanks.