Windows support multiple type of separator, one of them is a column separator which forces a menu item to be displayed on a new column.
The flags MENUBARBREAK or MENUBREAK can be used to create column menu.
See https://docs.microsoft.com/en-us/windows/win32/menurc/menuitem-statement for details.
The suggested implementation in a configuration file may look something like this:
<menu separator="true" type="column" />
By default, the value of the type attribute should be horizontal, therefore, the following would created a legacy separator:
<menu separator="true" type="horizontal" />