They’re different and have different part numbers.
5 door; 6J4 827 024 and 6J4 827 024 A
3 door; 6J3 827 024 and 6J3 827 024 A
You can also see the differences in these pictures; cut-outs into the tailgate panel for the rear lights are a different shape, area between bottom of rear screen and top of rear lights is different, different shape rear window, more pronounced horizontal crease in the tailgate panel below the hatch handle on the five door model (there may be other differences too).
3 Door;
5 Door;