Sorry, not quite correct or natural. If you are talking about responding to bad words, REPLIED and COMMENTED both need prepositions in this case:
Bad words will be replied to below the photo (still a little awkward)
Bad words will be commented on/upon below the photo.
If you are actually talking about placing the bad words, you'd need to say it another way. Something like:
Bad words will be posted in the comments below the photo.
There will be bad words in the comments below the photo.
The comments/replies below the photo will have bad words in them.