This is pretty much how you either get praised and rise in popularity for successfully baiting people, or get set on fire by the audience you tried to bait.
Personally, this is a piece of shit twist. I feel like the author was trying to troll the audience, and by leaving such a strong bad taste in their mouth, they'd also have a stronger last-impression. This is just like a cheap, tearful ending in a shitty anime. Just because the last episode or so had a bit of emotions, doesn't make the entire season great.
That being said, if this piece of garbage will actually continue from that point, it would be by far less terrible. Going from pure comedy to something a bit more serious? I can appreciate that. But not this. Not this cheap tactic of: "well I have no idea how to end this thing, and all of it was purely random and made no sense, so I guess I'll just shock-and-burn and run away with the gold."