Bitbucket seems to replace it with <backslash><pipe> when I save, showing the backslash.
Try it by creating a comment with the contents 'pipe|lines'.