Is there a way to add a Menu Separator to a Sub-Menu?

The Menu Separator seems to only function on the main right-click menu, but is there a way to embed it into a sub-menu?