At least to me, your health and safety obviously override honesty, so long as that breach of honesty is not endangering other's health and safety.
It is especially not required to be honest to people who are actively working against your own health and safety. You are not required to let your captors know you are planning an escape.