Hiding barlines in some layours

Is there a way of hiding a barline in the score but showing it in the part?

I don’t believe so, no.