No person shall ride on any vehicle nor upon any portion thereof which is neither designated nor intended for the use of passengers. This provision shall not apply to an employee engaged in the necessary discharge of a duty or to persons riding within truck bodies in a space intended for merchandise.