One way to compare $\ce{C-H}$ bond lengths is to compare their stretching frequencies using IR spectroscopy. However, since ethane and ethylene are gases at ambient conditions, we are going to have some difficulties in accuracy. Yet, it is worth comparing. Since we are comparing $\ce{C-H}$ bond in each case, we can suggest that the stronger the stretching frequency of $\ce{C-H}$ bond is, the shorter the bond should be.
1,2-Dibromoethane is a liquid at room temperature and $\pu{760 torr}$ with boiling point in the range of $\pu{131-132 ^\circ C}$. 1,2-Dibromoethene is from Aldrich is a mixture of cis- and trans-isomers, which boils at $\pu{110 ^\circ C}$ under $\pu{754 torr}$ pressure. IR spectra of both are extracted from NIST.gov webbook and illustrated as follows:
1,2-Dibromoethene: Range of $\ce{C-H}$ stretching is around $\pu{3150-3050 cm^{-1}}$ (Maximum $\ce{C-H}$ stretching is around $\pu{3100 cm^{-1}}$):

1,2-Dibromoethane: Range of $\ce{C-H}$ stretching is around $\pu{3010-2950 cm^{-1}}$ (Maximum $\ce{C-H}$ stretching is around $\pu{3000 cm^{-1}}$):

Accordingly, we can easily suggest that $\ce{C-H}$ bond in 1,2-dibromoethane is longer than that in 1,2-dibromoethene. However, this is hardly a surprise since we are comparing a $\mathrm{sp^3-s}$ bond versus a $\mathrm{sp^2-s}$ bond. Nonetheless, this is a good exercise because it confirm the validity of the test, in a way. Yet, the $\ce{C-H}$ stretching at around $\pu{3000 cm^{-1}}$ is undoubtedly suggested that $\ce{C-H}$ bond in 1,2-dibromoethane is shorter than a $\ce{C-H}$ bond in a regular alkane.
Now, let's see two good liquid alkane and alkene examples to represent gasious ethane and ethene, respectively.
2-Methylpent-1-ene (a terminal alkene) is a liquid at room temperature and $\pu{760 torr}$ with boiling point of $\pu{62 ^\circ C}$. n-Pentane (the shortest n-alkene at ambient condition) is a liquid at room temperature and $\pu{760 torr}$ with its boiling point around the range of $\pu{35-36 ^\circ C}$.
2-Methylpent-1-ene: Range of $\ce{C-H}$ stretching is around $\pu{3100-2800 cm^{-1}}$ (Maximum $\ce{C-H}$ stretching is around $\pu{3075 cm^{-1}}$):

2-Methylpent-1-ene: Range of $\ce{C-H}$ stretching is around $\pu{2990-2800 cm^{-1}}$ (Maximum $\ce{C-H}$ stretching is around $\pu{2900 cm^{-1}}$):

Thus, we can confidently suggest that the $\ce{C-H}$ bond lengths of given compounds are in following order:
ethane > 1,2-dibromoethane >ethene > 1,2-dibromoethene