The commissioner of transportation or local governing authorities having jurisdiction over public roads and highways may prohibit the operation of mopeds on public roads and highways within their jurisdiction if it is determined that such operation endangers the safety of the traveling public.