No. Rio de Janeiro is Brazil's 2nd largest city (metro population ~13M, city proper ~6.7M).
Santos (São Paulo state) is a major port city of ~430,000—important for coffee/sugar exports, but far smaller than Rio.