Ah, but how many countries would develop superconducting maglevs just to fund their defense program that's using similar research to make superconducting rail guns?
Probably zero. The problem with current railguns is not that they have too much electrical resistance but that their barrel wear is much too high for practical use. Superconductors wouldn't solve that.
In any case countries that want to spend money on military research just do so, using the budget they allot to military R&D. There's no need to try and hide that you are researching railguns.