Elon actively censors on his platform points of view he dislikes.
Brazilian regulations just dictates that candidates cannot be recommended, regardless of party.
Candidates are forbidden of doing many things to keep elections free and mostly fair.