Is a townhouse considered as a single family or a multi-family?

i own and currently live in a townhouse, i rented one of two rooms out, is a townhouse considered as a single family or a multi-family?