bs4.Comment.insert_after

Comment.insert_after(successor)

Makes the given element the immediate successor of this one.

The two elements will have the same parent, and the given element will be immediately after this one.