>> The classic fix is
>>
>> <<
>> \new Devnull { s1*5 \break }
>> \staffIGot
>
> This was exactly what I was after. It’s nice and simple and works
> well. Thank you.
>
> I might wish for it being better documented. I see Devnull
> documented well in the Internals Reference, but I didn’t readily see
> it mentioned in the Notation Reference. Not that I know exactly
> where it would fit well. I needed it in the context of
> https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source.
> It might not be the right place.
Can you provide some additional sentence or sentences for the
documentation so that we have something to start with?
Werner