Alkali metals have ns1 configuration in its valence orbit and the valence orbit configuration of hydrogen is also 1s1.
Hydrogen atoms form diatom gas H2. Halogens also form gases of formula X2.
Carbon in its excited state has a half-filled valence orbit (2s12p3). Also hydrogen has only one electron in its 1s orbit, which is half-filled.