What is the capital of the continent of Mexico?

Mexico is a country, not a continent. Continents do not have capitals, except for Australia, which is both a continent and a country.

The capital of the country of Mexico is Mexico City.
Mexico is a country, not a continent. Continents do not have capitals, except for Australia, which is both a continent and a country.

The capital of the country of Mexico is Mexico City.