Muon-spin-rotation study of the magnetic structure in the tetragonal antiferromagnetic state of weakly underdoped Ba
1−xK
xFe
2As
2Using muon spin rotation on a weakly underdoped Ba$_{1-x}$K$_x$Fe$_2$As$_2$ single crystal, the change in muon-site magnetic field magnitude and orientation across the orthorhombic-to-tetragonal antiferromagnetic (t-AF) transition is measured. The t-AF state is identified as an inhomogeneous double-$\mathbf{Q}$ magnetic structure with $c$-axis oriented moments, which results in a vanishing magnetic moment on half of the Fe sites.