If you are worried about that, why not build a biodome in the antarctic instead. Or build millions of greenhouse farms to survive impact winter.
Even if you are really into space exploration, developing a comet pusher would be infinitely more valuable.