2 of 6 added 86 characters in body

Can I make a melee attack with a ranged weapon?

Are there any rules that preclude this action?

I know weapons with the Ammunition property are forbidden per this line and this question:

If you use a weapon that has the ammunition property to make a melee attack, you treat the weapon as an improvised weapon .

... but what about darts and nets?

Keep in mind, I am almost certain this isn't the intended result, but what is RAW?