“ Shanghai, Beijing, Macao, and Hong Kong”
None of those are city states.
Singapore is.
Actually they are close to city states in that none of them are part of a province. Each is a discreet administrative area under the control of the central government. Sort of like DC.