I am on title but not responsible for anything

I am trying to help my friend for his investment property by putting my name on mortgage. I am not investing anything therefore doing this for friendship. Will i be required to declare income on that property? We will be having a legal document signed off that i am not responsible for any income or expense for this property.Would that document be enough to keep me away from declaring any income on that property.