The invention provides an optical frequency comb generation device with the comb tooth frequency interval capable of being scanned. A signal generator form two output ends through a microwave power distributor, wherein the first output end is connected with a photoelectric phase modulator after passing through a first broadband microwave power amplifier, the second output end is connected with a photoelectric intensity modulator after sequentially passing through an adjustable microwave delay line and a second broadband microwave power amplifier, a continuous wave laser carries out output sequentially through the photoelectric phase modulator and the photoelectric intensity modulator , the photoelectric phase modulator and the photoelectric intensity modulator are cascaded, and the photoelectric intensity modulator has direct-current bias. The invention further provides an optical frequency comb generation method. According to the optical frequency comb generation device and method, broadband continuous frequency scanning and accurate arbitrary adjustment of the comb tooth frequency interval are achieved, a generated optical frequency comb is stable in phase, frequency and central wavelength, and tunable, the device is simple in scheme, and low in cost, and the optical frequency comb generation device and method meet the requirement for application in the fields such as the optical measurement field, the laser radar field, the laser spectroscopy field, the optical fiber sensing field, the optical communication field and the microwave photonics field.