A polarization-dependent all-fiber comb filter based on a combination effect of multimode interference and Mach-Zehnder interferometer was proposed and demonstrated. The comb filter was composed with a short section of multimode fiber (MMF) fusion spliced with a conventional single mode fiber on the one side and a short section of a different type of optical fiber on the other side. The second type of optical fiber is spliced to the MMF with a properly designed misalignment. Different types and lengths of fibers were used to investigate the influence of fiber types and lengths on the performance of the comb filter. Experimentally, several comb filters with free spectral range (FSR) values ranging from 0.236 to 1.524 nm were achieved. The extinction ratio of the comb filter can be adjusted from 6 to 11.1 dB by varying polarization states of the input light, while maintaining the FSR unchanged. The proposed comb filter has the potential to be used in optical dense wavelength division multiplexing communication systems.