They are a city-state, not a country. Would you have considered Hong Kong a country before China subsumed it?
What’s with the parsing words? Are we playing what “is, is”?
A “any-state” is a State = a country.
Hong Kong was a part of the UK. Singapore was the same until they separated, then they were a State or Country. Hong Kong went from UK to PRC, nothing in between.