For anyone using cloud-based map style, go to your map style > Infrastructure > Polyline > Visibility and turn Visibility OFF. This will successfully hide Equator and the International Date Line.
Map Style Editing