I'm not as familiar with the breadth of marine species but they're a bit too big and the description of the shape doesn't sound like a nematode. Except for some endoparasites, most max out at ~1-2 mm in length and generally don't have any kind of branching structures.