The United Nations special envoy for Libya said on Monday he has resigned due to stress, days after his latest effort at peacemaking failed to achieve a breakthrough in the conflict.