Probably safest, yes (but won’t make any difference unless you also put a note-on at the end of the part… a “part” itself not actually being a MIDI event ).
Although it should also work o.k. if you just set L and R Locators and choose to “Export between Locators” (so long as there is at least one note-on event).