Neither is a reasonable 200yd shooter. A 17grn .17HMR bullet is going to be blown 13.5" (over a foot) off line with a 10mph crosswind out at 200yds while a 40grn .22WMR is going to be blown 22.5" (almost two feet) off line with the same 10mph crosswind. The ME at 200yds for the 22WMR is only 96ft/lbs and the .17HMR a paltry 81ft/lbs so, for anything larger than a small rodent, neither is an ethical hunting round at distances longer than feet from the muzzle.
“Remember, no matter where you go, there you are.” - Buckaroo Banzai 1984
"When you find a find a big kettle of crazy, it's best not to stir it." - Dilbert 2009