Diane, who had been relegated to the bench for much of the season, finished with 23 points on 7-of-12 shooting, including 3 of 4 from beyond the arc. He nailed what would be the game-winning 3-pointer with the game tied at 61 and the shot clock running down.
Virginia hit four free throws in the final 11 seconds to seal the win.
With the win, Virginia (10-17, 4-12 ACC) snapped a four-game skid and completed a regular season in which it won just two ACC home games.
The Terrapins (18-12, 7-9), who were led by Greivis Vasquez's 21 points, will likely need to go on a run in next week's ACC tournament starting on Thursday to get into the NCAA tournament.
GEORGIA TECH 67, BOSTON COLLEGE 66 – Rakim Sanders hit an off-balance, 15-foot fallaway jumper from the right baseline with 1.7 seconds left to lift Boston College to a 67-66 win over Georgia Tech on Saturday.
Sanders finished with 19 points and Tyrese Rice had 17 for the Eagles (21-10, 9-7 ACC), who have won for just the third time in seven games.
The Yellow Jackets (11-18, 2-14) had taken a one-point lead with 12.4 seconds to play when Lewis Clinch hit two free throws after Sanders was called for a reach-in foul, attempting to tie him up for a jump ball 20 feet from the basket.
After Clinch hit his two free throws, Sanders took the ball at the top of the key, cut to hit left and nailed the tough shot.
MIAMI 72, N.C. STATE 63 – Jack McClinton overcame a slow start to score 24 points Saturday, and the Canes held the Wolfpack without a field goal for more than 12 minutes in the second half.
McClinton missed his first seven shots before sinking a 3-pointer early in the second half. He finished 3-for-15 from the field but was 16-for-16 from the line.
The Hurricanes (18-11, 7-9 ACC) helped their slim hopes of making the NCAA tournament for the second year in a row. North Carolina State (16-13, 6-10) is likely out of the mix unless it makes a big splash in the league tournament.
The Wolfpack missed 12 consecutive shots during their drought, which began when they led 42-36. Javier Gonzalez ended the streak with a minute left to cut Miami's lead to 63-56.
Gonzalez led North Carolina State with 19 points.
(Photo by Andrew Shurtleff/AP, Marsha Halper/Miami Herald, Lisa Poole, AP)