Buried pipe is considered to be uniformly (constantly) supported and thus weight is set to zero by the modeller. This will include rigid as well as pipe elements. If you have specific valve supports underground then you might conservatively 'unbury' that element. Or maybe the valve is in a pit and is truly not buried ?