Some years ago there was a China Daily report quoting the head of an air force test centre who said that J-20 would form a family of aircraft performing a range of missions.J-20 is primarily an air to air platform, but there is no reason it cannot conduct strike missions and also SEAD.
Considering the number of J-20s that the PLA is likely to procure into the future and the capability offered by its stealth, range, and sensors, it makes sense to develop anti surface and anti radiation weapons to enable it to be a more multirole aircraft.
Obviously J-20 will not be a dedicated strike aircraft or dedicated SEAD/DEAD aircraft, but even as is, the aircraft would be quite formidable in both roles just by virtue of its capabilities by being a 5th gen fighter. It makes no sense not to develop weapons for the aircraft in those roles
"We are not complacent about what we have achieved,” Yang is quoted as saying. “We will develop the J-20 into a large family and keep strengthening its information-processing and intelligent capacities. At the same time, we will think about our next-generation combat plane to meet the nation's future requirements," Yang added that the J-20 is “the best fighter in China, so it would be used in the most crucial moments during a war.”