“Maybe don’t do that?” does not mean “I support you doing that” no matter how unfamiliar you are with it as an idiom.
“I cut my finger with the kitchen knife”
“Maybe don’t hold it by the blade”
It’s something along the lines of sarcastic and deliberately unhelpful because “duh, of course don’t do that”.