It isn't just a number game, nor is it just the cost per aircraft, or what value for money that sets apart the procurement of J-31 for China. I think J-31s, if applied in the correct strategic terms by China, is what will make a difference.
Whether anyone agrees or doesn't, I believe China's military posturing is predominantly defensive in nature. The offensive capability build-up, is born out of its defensive nature. What separates a naturally occurring offensive/aggressive posture of any military, from that of a defensive one. Is that it's primary role is the defence of the homeland. You can look at Russia or China, and you can see a mere handful or less, military bases outside of its territory. That signifies the posture which the respective countries military has. Whereas America, well it has more than 300 military bases around the world. Or Britain for that matter, has entire territories outside of its homeland (Diego Garcia, Falklands, Gibraltar) thousands of miles away.
So J-31s, for China will only make a difference when China applies the appropriate training, tech evolutionary modifications, tactical deployments, network links between the various strategic elements of the military. Carrierborne or not, J-31s will allow China a greater flexibility in a constantly changing dynamics of the geo-political and military world.
J-31s and J-20s will experience a great deal of upgrades and modifications in the coming years. Making them more lethal, agile and potent than they already are. In my opinion, China ought to persevere with further development of J-31s and should not only induct these aircraft for the Navy, but also the air force.