Answer:
L and Near never appeared together at any time. At the time of Near's first appearance, L was already dead.
It was also implied by Mello (in Nishio Ishin's spin-off novel, Another Note) that although he met L at one point, Near had not. Near has even said (in the post-series one-shot) that he never met L in person.