Ideally before, this way you can reference the bug number in the comment.