Configuring multiple ports in firewall rules

Multiple ports can be set as a range in a Firewall rule (at least no red warning text there), say

Source: 192.168.1.0/24:1024-65535

but I didn’t find a syntax to allow for multiple separate and/or ranged of ports to be set, e.g.

Source: 192.168.1.0/24:445,9200,50001-50005

Don’t know how/if this is solved in other vendors’ firewall UIs, as I’ve just started delving into firewall configuration, so just shooting from the hip here and thought it might be useful to avoid adding separate entries in the list of rules.

Someone who can shine some light on this?Otherwise, this could be a suggestion for improvement.