there were quite a few Indians killed under the british, not trying to defend the idiotic comments of Ghandi but to say that he was in no danger is not totally accurate.
In the course of two hundred plus years of British rule, with various uprisings and wars, plenty of Indians died.
But very few died at British hands during Gandhi's nonviolent resistance movement, and Gandhi himself ran no risk of being seized by British secret police and being gassed in an concentration camp.