People who say this have (usually - world's a big place, with a lot of exceptions,) never had to deal with actual trolls. They're the sort of people who consider legitimate criticism trolling, and could not handle a percentage of what others get.
Block, mute, report are ultra-important tools to use as you see fit - to do what's right for you - but saying 'just ignore it' dismisses the sh** marginalised people, women in general, and especially marginalised women, have to deal with.
Weirdly, I do feel sorry for trolls though - they're clearly lashing out and hurting and that's... that's really sad - that level of pain; I kind of wish I could hug them, sometimes, and say they don't have to do this, BUT that in no way excuses what they're doing - hurting others is not OK, and it's not acceptable.
Work out what works for you, when it works for you, when dealing with trolls - that's what's most important. <3