Social insurance continuity is not listed as an independent condition in the official permanent residence rules. The conditions that are listed are continuous employment, cumulative residence, and a good tax record — but the official documents do not state whether a social insurance gap is checked.
Nationwide (all cities)
Not an independent condition
The official permanent residence rules do not list social insurance continuity as an independent condition. This is worth stating plainly, because the employment-based routes are defined by other criteria.
The listed conditions
Under the Administrative Measures for Approval of Permanent Residence of Foreigners, the employment route requires: a senior position or deputy senior title, continuous employment for 4 years, cumulative residence of at least 3 of those 4 years, and a good tax record. Under the NIA's 12 convenience policies, the high-income route requires: continuous work for 4 years, actual residence of at least 6 months each year, wage income at least 6 times the area average, and individual income tax of at least 20% of the wage income standard.
Tax, not social insurance
Neither document names social insurance contributions as a condition. The closest related requirement is the 'good tax record' (纳税记录良好), which concerns tax, not social insurance.
Confirm your own case
So a social insurance gap is not, on its own, stated as a disqualifying factor in the official rules. However, because the employment-based routes depend on continuous employment and residence, and because the reviewing office may verify your overall work and residence situation, the practical answer for your own case should be confirmed with the local exit-entry administration where you apply.