Major modifications are made to the setup and signal processing of the method of in-situ measurement of the pitch of a diffraction grating based on the angles of diffraction of the diffracted optical frequency comb laser emanated from the grating. In the method, the improvement of the uncertainty of in-situ pitch measurement can be expected since every mode in the diffracted optical frequency comb laser can be utilized. Instead of employing a Fabry-Pérot etalon for the separation of the neighboring modes in the group of the diffracted laser beams, the weight-of-mass method is introduced in the method to detect the light wavelength in the Littrow configuration. An attempt is also made to reduce the influence of the non-uniform spectrum of the optical comb laser employed in the setup through normalization operation. In addition, an optical alignment technique with the employment of a retroreflector is introduced for the precise alignment of optical components in the setup. Furthermore, a mathematical model of the pitch measurement by the proposed method is established, and theoretical analysis on the uncertainty of pitch measurement is carried out based on the guide to the expression of uncertainty in measurement (GUM). Keywords: diffraction grating; grating pitch; mode-locked femtosecond laser; laser diffraction; diffraction equation; measurement uncertainty analysis