Jannik Sinner admits that he considered quitting tennis amid the doping row that saw him suspended from the sport for three months.