Neither. Washington D.C. is not part of any state. However, it is surrounded on three sides by Maryland.
Virginia and Maryland. DC used to be part of Maryland and is still mostly surrounded by that state.
maryland
Maryland
Virginia and Maryland
Virginia
Washington D.C used land from Maryland and Virginia.
Virginia and Maryland
It isn't in Maryland. It is in the District of Columbia which was created from land annexed from Virginia and Maryland.
Washington, DC is located between Virginia and Maryland
Virginia and Maryland.
Washington, DC is surrounded by the states of Maryland and Virginia.
Washington D.C. is located between the states of Virginia (on its southwest side) and Maryland (on its southeast, northeast, and northwest sides).Maryland and Virginia.